from django.db import models

class BuildingInfo(models.Model):
    building_id = models.AutoField(primary_key=True)
    building_openid = models.CharField(max_length=100, blank=True, null=True)
    building_nbr = models.CharField(max_length=255, blank=True, null=True)
    building_network_tariff = models.FloatField(blank=True, null=True)
    building_count = models.IntegerField(blank=True, null=True)
    building_idle_count = models.IntegerField(blank=True, null=True)
    building_price = models.FloatField(blank=True, null=True)
    building_price_last = models.FloatField(blank=True, null=True)
    building_electric = models.FloatField(blank=True, null=True)
    building_electric_last = models.FloatField(blank=True, null=True)
    building_electric_price = models.FloatField(blank=True, null=True)
    building_water = models.FloatField(blank=True, null=True)
    building_water_last = models.FloatField(blank=True, null=True)
    building_water_price = models.FloatField(blank=True, null=True)
    building_about_id = models.IntegerField(blank=True, null=True)
    building_about_name = models.CharField(max_length=255, blank=True, null=True)
    building_about_door = models.CharField(max_length=255, blank=True, null=True)
    building_about_groupid = models.CharField(max_length=255, blank=True, null=True)
    building_about_ikuai = models.CharField(max_length=255, blank=True, null=True)

    class Meta:
        db_table = 'building_info'